
#include "stdafx.h"
#include "xBaseWrite.h"


namespace XE
{


	xBaseWrite::xBaseWrite( xEngineWrite* pEngineWrite)
		:m_pEngineWrite(pEngineWrite)
	{

	}
	xBaseWrite::~xBaseWrite()
	{

	}


	void xBaseWrite::addGeometryUniqueIdInstanceGeometryInfoPair\
		(const COLLADAFW::UniqueId& geoId, const xEngineWrite::InstanceGeometryInfo& instanceGeoInfo)
	{
		xEngineWrite::GeometryUniqueIdInstanceGeometryInfoMap& map = m_pEngineWrite->getGeometryUniqueIdInstanceGeometryInfoMap();
		map.insert(std::make_pair(geoId, instanceGeoInfo));
	}

	const xEngineWrite::GeometryUniqueIdInstanceGeometryInfoMap&  xBaseWrite::\
		getGeometryUniqueIdInstanceGeometryInfoMap()
	{
		return m_pEngineWrite->getGeometryUniqueIdInstanceGeometryInfoMap();
	}




}